SquareConnect\Model\MeasurementUnit S

Total Complexity 29
Dependencies 2
Dependents 3
Total lines 325
Lines of code 107
Logical lines of code 50
Comment lines 136
Methods 20
Properties 11

Methods 20

Method Rating Maintainability Complexity Lines of code
__construct()
A
48 9 39
__toString()
S
68 2 7
setCustomUnit()
S
77 1 4
setGenericUnit()
S
77 1 4
offsetUnset()
S
81 1 3
offsetSet()
S
81 1 3
offsetGet()
S
82 1 3
offsetExists()
S
80 1 3
setType()
S
77 1 4
getType()
S
82 1 3
getGenericUnit()
S
82 1 3
getAreaUnit()
S
82 1 3
getCustomUnit()
S
82 1 3
getWeightUnit()
S
82 1 3
setVolumeUnit()
S
77 1 4
getVolumeUnit()
S
82 1 3
setLengthUnit()
S
77 1 4
getLengthUnit()
S
82 1 3
setAreaUnit()
S
77 1 4
setWeightUnit()
S
77 1 4